package com.bookstore.dao;

import com.bookstore.entity.Order;
import com.bookstore.entity.OrderItem;
import com.bookstore.entity.User;

import java.util.List;

public interface OrderItemDao {
    int insertOrderItem(OrderItem orderItem);

    int updateOrderItem(OrderItem orderItem);

    int deleteOrderItem(Long orderItemId);

    List<OrderItem> queryAllOrderItem();

    OrderItem queryOrderItemId(Long orderItemId);
}
